﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Public/Public.Master" AutoEventWireup="true" CodeBehind="ExchangeAdd.aspx.cs" Inherits="NhanAi.Public.ExchangeAdd" %>
<%@ Register Assembly="MSCaptcha" Namespace="MSCaptcha" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
     <title>
        <asp:Literal ID="litCount" runat="server" Text="<%$Resources:HmLanguage,exchange %>"></asp:Literal></title>

    </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">    
    <form runat="server" >
        <input type="hidden" name="exchange" value="1" />
    <%if (Request["rs"]=="success"){ %>
        <span style="color:red;"><asp:Literal runat="server" ID="lit1" Text="<%$Resources: HmLanguage, submit_success %>"></asp:Literal></span>
        <%}else if(Request["rs"]=="false"){ %>
        <span style="color:red;"><asp:Literal runat="server" ID="lit2" Text="<%$Resources: HmLanguage, comment_fail %>"></asp:Literal></span>
        <%} %>
    <table class="form-table" >
        <tr>
            <td class="required" style="width:100px;"><asp:Literal runat="server" ID="litAuthor" Text="<%$Resources:HmLanguage,author %>"></asp:Literal></td>
            <td>
                <asp:TextBox ID="txtAuthor" runat="server" CssClass="inp-form"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtAuthor" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>Email</td>
            <td>
                <asp:TextBox ID="txtEmail" runat="server" CssClass="inp-form"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtEmail" ErrorMessage="*"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail" ErrorMessage="*" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td class="required"><asp:Literal runat="server" ID="Literal1" Text="<%$Resources:HmLanguage,content_label %>"></asp:Literal></td>
            <td>
                <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" Columns="50" Rows="8"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtContent" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
            <td>&nbsp;</td>
        </tr>
        
        <tr>
            <td>&nbsp;</td>
            <td>
                <input type="submit" id="btnCreate" runat="server" value="<%$Resources:HmLanguage,submit %>"  />
                <input type="reset" runat="server" value="<%$ Resources: HmLanguage,reset %>" /></td>
            <td>&nbsp;</td>
        </tr>
    </table>
    </form>
</asp:Content>
